import { ref } from "vue"
// dict
import { useDict } from "@/dict/index"
export function useSearchForm(){
    const { useDictList } = useDict()
    /**
     * 搜索项配置
     */
    const searchFormJSON = ref([
        {
            label: "用户名",
            field: "username",
            control: 'input'
        },
        {
            label: "手机号",
            field: "phone",
            control: 'input'
        },
    ])

    return {
        searchFormJSON
    }
}

